<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	<!--view层，模板-->
			<div id='app'>
				<li v-for="(item,index) in items">
					{{item.message}}--{{index}}
				</li>
			</div>
			
			<!--导入vue.js-->
			<script src='https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.min.js'></script>
			<script>
				var vm = new Vue({
					el: "#app",
					<!--model 数据-->
					data:{
						items: [
							{message: '西撒'},
							{message: '波波'},
						]
					}
				})
			</script>
			
		</body>
	</html>
	